
noinst_LTLIBRARIES = libPolarimetry.la

nobase_include_HEADERS = \
	Pulsar/BackendCorrection.h \
	Pulsar/BackendEstimate.h \
	Pulsar/BackendFeed.h \
	Pulsar/BackendFeedInfo.h \
	Pulsar/BasisCorrection.h \
	Pulsar/BoostShiftAnalysis.h \
	Pulsar/Britton2000.h \
	Pulsar/BrittonInfo.h \
	Pulsar/CalibratorStokesInfo.h \
	Pulsar/CalInterpreter.h \
	Pulsar/ChannelSubsetMatch.h \
	Pulsar/CoherencyMeasurement.h \
	Pulsar/CoherencyMeasurementSet.h \
	Pulsar/ComplexRVMFit.h \
	Pulsar/ConstantGainInfo.h \
	Pulsar/ConvertMJD.h \
	Pulsar/Database.h \
	Pulsar/DeltaPA.h \
	Pulsar/DeltaRM.h \
	Pulsar/Distortion.h \
	Pulsar/DoPCalibrator.h \
	Pulsar/Faraday.h \
	Pulsar/FaradayRotation.h \
	Pulsar/Feed.h \
	Pulsar/FitGoodnessReport.h \
	Pulsar/FluxCalibrator.h \
	Pulsar/FluxCalibratorInfo.h \
	Pulsar/FluxCalibratorPolicy.h \
	Pulsar/FluxCalManager.h \
	Pulsar/FluxCalManagerInfo.h \
	Pulsar/FourthMomentInterpreter.h \
	Pulsar/FourthMomentStats.h \
	Pulsar/FrontendCorrection.h \
	Pulsar/HasOrientation.h \
	Pulsar/HybridCalibrator.h \
	Pulsar/InputDataReport.h \
	Pulsar/Instrument.h \
	Pulsar/InstrumentInfo.h \
	Pulsar/IonosphereCalibrator.h \
	Pulsar/IRIonosphere.h \
	Pulsar/IXRInfo.h \
	Pulsar/ManualPolnCalibrator.h \
	Pulsar/ManualVariableTransformation.h \
	Pulsar/MeanCoherency.h \
	Pulsar/MeanFeed.h \
	Pulsar/MeanInstrument.h \
	Pulsar/MeanJones.h \
	Pulsar/MeanPolar.h \
	Pulsar/MeanSingleAxis.h \
	Pulsar/MeasurementEquation.h \
	Pulsar/ModelParametersReport.h \
	Pulsar/ModeSeparation.h \
	Pulsar/ObservationUncertainty.h \
	Pulsar/OffPulseCalibrator.h \
	Pulsar/Parallactic.h \
	Pulsar/PolarCalibrator.h \
	Pulsar/Polarization.h \
	Pulsar/PolnCalibrator.h \
	Pulsar/PolnCalibratorExtensionUtils.h \
	Pulsar/PolnCalExtFreqIntegrate.h \
	Pulsar/PolnProfile.h \
	Pulsar/PolnProfileFit.h \
	Pulsar/PolnProfileFitAnalysis.h \
	Pulsar/PolnProfileStats.h \
	Pulsar/PolnProfileStatsInterface.h \
	Pulsar/PolnSpectrumStats.h \
	Pulsar/PolnStatistics.h \
	Pulsar/PolynomialInfo.h \
	Pulsar/ProjectionCorrection.h \
	Pulsar/PulsarCalibrator.h \
	Pulsar/ReceptionCalibrator.h \
	Pulsar/ReceptionModel.h \
	Pulsar/ReceptionModelReport.h \
	Pulsar/ReceptionModelSolver.h \
	Pulsar/ReceptionModelSolveGSL.h \
	Pulsar/ReceptionModelSolveMEAL.h \
	Pulsar/ReferenceCalibrator.h \
	Pulsar/ReflectStokes.h \
	Pulsar/RobustStepFinder.h \
	Pulsar/RotatingVectorModelOptions.h \
	Pulsar/SignalPath.h \
	Pulsar/Simulation.h \
	Pulsar/SingleAxisCalibrator.h \
	Pulsar/SingleAxis.h \
	Pulsar/SingleAxisPolynomial.h \
	Pulsar/SingleAxisSolver.h \
	Pulsar/SolverInfo.h \
	Pulsar/SourceDeltaEstimate.h \
	Pulsar/SourceEstimate.h \
	Pulsar/SourceInfo.h \
	Pulsar/StandardData.h \
	Pulsar/StandardPrepare.h \
	Pulsar/StandardSpectra.h \
	Pulsar/StepsInfo.h \
	Pulsar/StokesCovariance.h Pulsar/StokesCrossCovariance.h \
	Pulsar/SystemCalibrator.h \
	Pulsar/SystemCalibratorStepFinder.h \
	Pulsar/SystemCalibratorUnloader.h \
	Pulsar/UnloadJones.h \
	Pulsar/TemplateUncertainty.h \
	Pulsar/TotalCovariance.h \
	Pulsar/VariableBackend.h \
	Pulsar/VariableBackendEstimate.h \
	Pulsar/VariableGain.h \
	Pulsar/VariableProjectionCorrection.h \
	Pulsar/VariableTransformation.h \
	Pulsar/VariationInfo.h

libPolarimetry_la_SOURCES = \
	BackendCorrection.C \
	BackendEstimate.C \
	BackendFeed.C \
	BackendFeedInfo.C \
	BasisCorrection.C \
	BoostShiftAnalysis.C \
	Britton2000.C \
	BrittonInfo.C \
	CalibratorStokesInfo.C \
	CalibratorType_factory.C \
	CalInterpreter.C \
	ChannelSubsetMatch.C \
	choose.C \
	CoherencyMeasurement.C \
	CoherencyMeasurementSet.C \
	ComplexRVMFit.C \
	ConstantGainInfo.C \
	ConvertMJD.C \
	Database.C \
	DeltaPA.C \
	DeltaRM.C \
	Distortion.C \
	DoPCalibrator.C \
	Faraday.C \
	FaradayRotation.C \
	Feed.C \
	Feed_load.C \
	FitGoodnessReport.C \
	FluxCalibrator.C \
	FluxCalibratorExt.C \
	FluxCalibratorInfo.C \
	FluxCalibratorPolicy.C \
	FluxCalibratorConstantGain.C \
	FluxCalibratorVariableGain.C \
	FluxCalManager.C \
	FluxCalManagerInfo.C \
	FourthMomentInterpreter.C \
	FourthMomentStats.C \
	FrontendCorrection.C \
	HybridCalibrator.C \
	InputDataReport.C \
	Instrument.C \
	InstrumentInfo.C \
	Integration_defaraday.C \
	IonosphereCalibrator.C \
	IRIonosphere.C \
	IXRInfo.C \
	ManualPolnCalibrator.C \
	ManualVariableTransformation.C \
	MeanCoherency.C \
	MeanFeed.C \
	MeanInstrument.C \
	MeanJones.C \
	MeanPolar.C \
	MeanSingleAxis.C \
	MeasurementEquation.C \
	ModelParametersReport.C \
	ModeSeparation.C \
	ObservationUncertainty.C \
	OffPulseCalibrator.C \
	Parallactic.C \
	PolarCalibrator.C \
	Polarization.C \
	Polar_solve.C \
	PolnCalibrator.C \
	PolnCalibratorExtensionUtils.C \
	PolnCalibratorInfo.C \
	PolnCalExtFreqIntegrate.C \
	PolnProfile.C \
	PolnProfileFit.C \
	PolnProfileFitAnalysis.C \
	PolnProfileStats.C \
	PolnProfileStatsInterface.C \
	PolnSpectrumStats.C \
	PolnStatistics.C \
	PolynomialInfo.C \
	ProjectionCorrection.C \
	PulsarCalibrator.C \
	ReceptionCalibrator.C \
	ReceptionModel.C \
	ReceptionModelReport.C \
	ReceptionModelSolver.C \
	ReceptionModelSolveMEAL.C \
	ReferenceCalibrator.C \
	ReflectStokes.C \
	RobustStepFinder.C \
	RotatingVectorModelOptions.C \
	SignalPath.C \
	Simulation.C \
	SingleAxis.C \
	SingleAxisCalibrator.C \
	SingleAxisPolynomial.C \
	SingleAxisSolver.C \
	SolverInfo.C \
	SourceDeltaEstimate.C \
	SourceEstimate.C \
	SourceInfo.C \
	StandardData.C \
	StandardPrepare.C \
	StandardSpectra.C \
	StepsInfo.C \
	StokesCovariance.C StokesCrossCovariance.C \
	SystemCalibrator.C \
	SystemCalibratorUnloader.C \
	UnloadJones.C \
	TemplateUncertainty.C \
	TotalCovariance.C \
	VariableBackend.C \
	VariableBackendEstimate.C \
	VariableGain.C \
	VariableProjectionCorrection.C \
	VariableTransformation.C \
	VariationInfo.C

##############################################################################
#
# GSL-dependent code
#
if HAVE_GSL
libPolarimetry_la_SOURCES += ReceptionModelSolveGSL.C
endif

##############################################################################
#
# SPLINTER-dependent code
#
if HAVE_SPLINTER

libPolarimetry_la_SOURCES += CalibrationInterpolator.C
nobase_include_HEADERS += Pulsar/CalibrationInterpolator.h

endif


SUBDIRS = iri2001

libPolarimetry_la_LIBADD = iri2001/libiri.la @GSL_LIBS@

bin_PROGRAMS = rmrot simpol

rmrot_SOURCES = rmrot.C
simpol_SOURCES = simpol.C

# ######################################################################
#
# test programs
#

TESTS = test_copy test_Feed test_SingleAxis test_TotalCovariance \
	test_Parallactic test_ReceptionComposite test_ReceptionEvaluate \
	test_ReceptionModel test_Instrument test_hand_xyph

check_PROGRAMS = $(TESTS) test_IRIonosphere test_ModeSeparation

test_ReceptionComposite_SOURCES	= test_ReceptionComposite.C
test_ReceptionEvaluate_SOURCES	= test_ReceptionEvaluate.C

test_Feed_SOURCES		= test_Feed.C
test_Parallactic_SOURCES	= test_Parallactic.C
test_SingleAxis_SOURCES		= test_SingleAxis.C
test_Instrument_SOURCES		= test_Instrument.C
test_hand_xyph_SOURCES		= test_hand_xyph.C

test_ReceptionModel_SOURCES	= test_ReceptionModel.C
test_TotalCovariance_SOURCES	= test_TotalCovariance.C
test_ModeSeparation_SOURCES	= test_ModeSeparation.C

test_copy_SOURCES		= test_copy.C
test_IRIonosphere_SOURCES	= test_IRIonosphere.C

#############################################################################
#

LDADD = libPolarimetry.la \
	$(top_builddir)/More/MEAL/libMEAL.la \
	$(top_builddir)/Base/libpsrbase.la \
	$(top_builddir)/Util/libpsrutil.la \
	$(top_builddir)/Util/epsic/src/util/libutil.la 


include $(top_srcdir)/config/Makefile.include

AM_CPPFLAGS += @GSL_CFLAGS@

